added user login. changed client session handling