Added email functionality
added reset_password
Added test for invalid token
Added tests to reset password.