User model updated with Devise & authentication support