Reset password using Gmail SMTP + restructure controllers to use anonymous functions