implements login via e-mail key