Added user authentication with devise gem