cleanup in login form