             log.error error = "[ERROR] can't change owner of home directory to UID/GID #{uid} for user #{username}: #{err}"
             callback error
           else
-            createVhost username:username,uid:uid,(err,res)->
+            @createVhost username:username,uid:uid,(err,res)->
               unless err
                 log.info info = "[OK] default vhost and hosmedir for user #{username} is created"
                 callback? null,info

 #                 else
 #                   log.debug "[OK] func:unSuspendUser: /usr/sbin/cagefsctl -w #{userToSuspend}"
 #                   res = "[OK] user #{userToSuspend} was successfully unsuspended"
 #                   log.info res; callback? null, res
                        # now we can build home for user
                        ldapClient.unbind (err)->
                          log.error err if err?
                        @buildHome username:username,uid:parseInt(id), (error,result)->
                          if error?
                            callback error
                          else
