Wrote a blog post on how to create a full authentication easily with the Authentication Zero gem: https://codewithrails.com/rails-authentication