logging in fix