         return  notify "Passwords did not match" if password isnt confirmPassword
         # if password is empty than discard operation
         if password is ""
-          query = KD.utils.parseQuery()
-          if query.token
+          {token} = KD.utils.parseQuery()
+          if token
             profileUpdated = no
             notify "You should set your password"
           return queue.next()


  viewAppended:->
    {JPasswordRecovery, JUser} = KD.remote.api
    query = KD.utils.parseQuery()
    if token = query.token
      JPasswordRecovery.validate token, (err, isValid)=>
        if err
          notify err.message

    @emailForm.inputs.firstName.setDefaultValue firstName
    @emailForm.inputs.lastName.setDefaultValue lastName

    {focus} = KD.utils.parseQuery()
    if focus
      @emailForm.inputs[focus].setFocus()

    if @user.status is "unconfirmed"
      o =
