Connected the backEnd to the frontEnd