Add ng-click action to logout