                         (! $scope.isSearch false)
                         (! $scope.usersLoaded "loading")
                         (-> $http
-                            (.get (str "../api/users/" $scope.usersPerPage "/" $scope.currentPage))
+                            (.get (str "api/users/" $scope.usersPerPage "/" $scope.currentPage))
                             (.success (fn [data]
                                         (if (empty? (aget data "users"))
                                           (! $scope.usersLoaded "no")


  (! $scope.getUser (fn []
                      (-> $http
                          (.get (str "../api/user/" $scope.userId))
                          (.success (fn [data]
                                      (! $scope.user (aget data "user"))
                                      (if (aget data "user" "username")

                         (! $scope.isSearch true)
                         (! $scope.showPaging false)
                         (-> $http
                             (.get (str "api/user/search/" $scope.query))
                             (.success (fn [data]
                                         (if (empty? (aget data "results"))
                                           (! $scope.usersLoaded "no")
