Fixed login by replacing user temp with full user object, fixed get-user
Exported get-user