login / logout functionality on dashboard.