fixed login form to accept email