Week 4 part 2

Implemented sending welcome email, added tests to email sending, and implemented password resetting
If you change the code above, don't forget to change this code.