Implemented sending welcome email, added tests to email sending, implemented password resetting