added userid to session