adding user id to session