edit welcome email and database entry code in controller