Server for handling user sessions