Add default on environment settings
Handling login and logout on navbar in example app