login check with emails in db