you can create your own function and assign it to a button with ng-click:
        $tm1Ui.applicationLogout('yourTm1Instance').then(function(data){
             $state.go('home');
             //or
             // $window.location.reload();
         }
I thought the question was to log on automatically  But really question was to go to log on screen automatically. Sorry!
 But really question was to go to log on screen automatically. Sorry!