bugfix in login