reload routes on login/logout

fixes #323