Fixed search view: when checking if the user was authenticated, is_authenticated was not being called (missing brackets)