Wait until logout has completed before redirecting to homeRoute

Fixed a bug where routing was happening too fast (before logout was finished processing) resulting with Router evaluating the homeRoute as if the user was still logged in.

Now the redirect to homeRoute only happens once logout() is finished processing.