Merry Christmas everyone, im making a web app, where you can make a booking time for a store like a barber, but im having trouble on deciding how to integrate the authentication, because i want for the user to be able to choose the date and time and then let him choose if he wants to create an account or log in or make the booking as a guest to the site. But on the other side there is also the initial view.
So the main problem, is how to distinguish if the user is signed in or not
An example of this is the amazon site, where you can do everything except completing the order not signed in but when you go to make an order it askes you to sign in or create an account but if you are signed in it just goes on to completing the order.
- to do it i have thought of to ways, the one is to check everywhere if the user is signed in and based on that show the options (but this way doesnt use the initial view)
- And the other ia to create two sets of each page, where the one page will be if youre signed in and the other if you are not
I hope you understand what i mean.