Adding devise and user authentication