minor bugfix, logging in now works after logging out