devise added with login functionality