changed a bug for logged in users when getting menu