porting over passport functionality, printing user info to views