added devise gem for authentication and added encrypted_password field
added devise in user model
create user session
added session logout
Removed duplicate blank email and password check
removed comments, changed devise version and changed error codes