Fix slow login response and verify email using regex
This week I got my first PR thanks to Flyznex, he helped fix issue #234 Login has a very slow response and along implemented a better way to verify if a string is a valid email. The issue came up when I found that sometime when I login it took a long time.