Email formatted nicely
email now works to invite user
Updated with new database way