{
path: '/signin',
component: SignIn
},
{
path: '/signup',
component: SignUp
}
{
path: '/logout',
onEnter: (nextState, replace) => {
Auth.deauthenticateUser(); //удаляю token
// change the current URL to /
replace('/');
}
}