I\'m building a single page application where users can see different pages depending if they\'ve logged in or not. The login call works perfectly and an authorization token