disabling post view of anonymous users