added invite_user mailer functionality

Added mail functionality for inviting users, added tests, fixed join method in user class, added unit test to reflect fix in user class
Remove print