linked backend to frontend - frontpage - searchpage