A simple login and registration for Rails 4.x with encrypted passwords