wired backend to frontend/ add cat