Refactor user creation AJAX
Refactor timelog update AJAX
Better time detection for running clock. Remove brittle tests.