functions to manipulate ng-show for verification purpose added in authentication controller