fixed a login bug
fixed the form bug