Fixed Timelogs controller and added user controller