when loggedin the user will be redirected to the dashboard
login menu item is removed
This menu item doesn't make sense since you will be redirected to the login page the moment you aren't logged in.
scaffolded logout widget
redirect to dash board when login page is requested
loginVM notifies the parent when logged in successfully
registerVM notifies the parent when logged in successfully
logout function deletes the authToken from the cookie
this will result in a undefined rather than null, when setting null, it would return a string instead.
parent will be notified when user is logged out
logout widget now loads the user from the DAO on widget initialization
user is stored as json string in the cookie
Loggin in and out gives the user feedback
#1 registration is now also restricting what is saved
 * checks on the username, password and email are performed
Failed login now provides feedback
added documentation to the user resource
Merge pull request #5 from EnoF/loggedin

Login, logout and registration