double logged in fix