controllers and changed email credentials to environment vars