What to do: - Use server actions to make an API call to the backend to register a new user - Store the session token in cookies as httpOnly and other options (You will get them from the backend) - Redirect the user to the homepage (Later on need to redirect the user to the same page they came from) References: - Look at the login implementation