fix password input field
redirect to app index after login
fix html error, improve error handling, preserve form values