added the devise for user management
added the user login and logout