more bugfix on login page