beginning to link frontend to backend