retreiving and saving user id from the server