             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

                        # 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

        log.info "[OK] user #{username} was secured"
        callback? null,"[OK] user #{username} was secured"

  buildHome : (options,callback)->
    #
    # this methid will make home directory for user, set correct perms and copy all default files in it
    #
