Updated app with Devise login functionality