added a keepalive for the session
added simple server side user management