adding has_secure_password module and accessible attributes to user model
adding password and password_confirmation to view