Added user authentication by installing devise gem