Added logout feature
Controller app e config