Added more login parts, can send emails on a password reset