Applied sorting filter to table to allow the user to order the data in the way they prefer
added ng-show directives to only display the user div and table when there is an existing user model in the