when user was logged in it was beign passed to db_search_polls the User object instead ov his id