added configuration for production sendgrid and storing passwords better