Fix notice when not logged in