change to after_create
Merge pull request #130 from ngoel36/email_pref

change to after_create