added login and logout functionality
added login and logout files