The login button will be placed in a header later on.
The login flow should be as follow:
1. The user can click on Login in the header.2. This will show the login page, where the user can fill in the email address and password.3. The user logs in. The component in the header should have two states:
Show Login when the user is not logged in.
Show Logout when the user is logged in.
Login directs the user to the login page.
Logout will log out the user.
Need to implement the store in order to dynamically update the state of the user, so various components can react to it. Need to complete #18 to finish this issue.
The login button will be placed in a header later on.
The login flow should be as follow:
1. The user can click onLogin
in the header.2. This will show the login page, where the user can fill in the email address and password.3. The user logs in. The component in the header should have two states:Login
when the user is not logged in.Logout
when the user is logged in.Login
directs the user to the login page.Logout
will log out the user.