fixed bug for not signed in users