Finished the login/connection system for the sessions.