Change password reset input to email address
Relocate logout function