Added devise and devise_invitable.
Added cancan and removed sign_up ability using suggestion from here: http://stackoverflow.com/questions/5370164/disabling-devise-registration-for-production-environment-only