Method for calculating if a user should be allowed to log the given time.
Added some additional todos.