Fix when user isn't logged in.