bugfix in loginform