If you sign out, the user state gets reset, but the projects state doesn't, so if you then sign in with a different account the previous user's projects will still be in state, causing issues.
Also we should reset the router location when a user signs out, otherwise they risk getting directed to a project they don't have access too if they sign back in w/ a different account.
If you sign out, the
user
state gets reset, but theprojects
state doesn't, so if you then sign in with a different account the previous user's projects will still be in state, causing issues.