reduced session expiration to 10 mins, fixed updating online state upon session expiration