Added devise for login and logut