moved user and log class to models, verify prints logs