I have domain.com. If the user is logged in, it should load automatically domain.com/option-X where X is a predefined choice of the user.
Just a tip: using http_response_code is much easier to remember than writing the full header:
http_response_code(301); header('Location: /option-a'); exit;