Refactor UserController, add timed achievements calculation.