some loginform fixes