implemented login and logout
created dashboard page