adds email method to access email from User model, and changes appropriate vars