Sets up devise.