Allow authentication with email

Close #8