Add Devise gem for authentication and set up routes.