add wait time and fix cart bug, unauthenticated and authenticated user restrictions