Must be logged in to get user details.
Login lifecycle using JSON endpoints.
Return user JSON object at login.
Implemented logoff.
Remember login and route to tasks.