worked on some functions in TimeEntryController

Please look and see if the functions look good so far.