gets photo and email on login
remove some debugging code