Added function which asks the server if user actions should be recorded
Added part of the code that implements timetracking in clientside.
Not finished yet.