Changed authentication to use Devise Gem