Fix bug where timeout session was never updated and user would always be logged out after ten minutes irrispective of activity