fixed bug for non signed in users