finish basic support for multiple sessions for a user