login/logout functionality with respect to dashboard only

1) added secure to dashboard
2) added event to redirect to login if authentication fails
3) added factory user to maintain user data in the service