Week 5 part 1

Wrote integration test for resetting password, implemented inviting users, and refactored with concerns