On the club's page, while the user is logged in, render prices using the Axios and via express js api , filter by club ID. and make a book now button against every price offered and if you click on in while you are logged in it sends a booking with price mentioned along with logged user's name, mobile number and time of booking
some of the API calls require passing of userID in the URL to make a request for example - my bookings, hence we need the userID of the logged-in user which is of type objectID in MongoDB database, I tried it via jwt_decode in the frontend from access token, didn't work