Linking frontend with backend