register page UI and function ok, but login function fail