fixed login form, still need to do all the rest for tank_auth