Fix warning bug in email and password input #245