fixed bug on which user can not see dashboard of users when not logged in