Implementing authentication using Devise gem.