Title:  Refactored loginRest
Description: login rest now works
Edited:
Fixed:
Delete:
Important:
Alert:
Snip:
Commit: Robert