Moved all instances of env() out of the app folder. Laravel doesn't like when env() is used in the app folder. Created two new varibles in the app config file email_new_user_notification for email to send new registrations too disable_signup for disabling signup