Added user authentication via devise gem.