1. Use mail library to send mail
2. Tidy up code style for login
Merge branch 'develop' of github.com:Femmi/IFinder into develop