Improved routing configs so that user never reaches application insides before beeing logged in.