     {email} = @userInfo
     {nickname, firstName, lastName} = @account.profile
 
-    @emailForm.inputs.email.setDefaultValue Encoder.htmlDecode email
-    @emailForm.inputs.username.setDefaultValue Encoder.htmlDecode nickname
-    @emailForm.inputs.firstName.setDefaultValue Encoder.htmlDecode firstName
-    @emailForm.inputs.lastName.setDefaultValue Encoder.htmlDecode lastName
-    @emailForm.inputs.shareLocation.setDefaultValue whoami().shareLocation
+    @userProfileForm.inputs.email.setDefaultValue Encoder.htmlDecode email
+    @userProfileForm.inputs.username.setDefaultValue Encoder.htmlDecode nickname
+    @userProfileForm.inputs.firstName.setDefaultValue Encoder.htmlDecode firstName
+    @userProfileForm.inputs.lastName.setDefaultValue Encoder.htmlDecode lastName
+
+    if isKoding()
+      @userProfileForm.inputs.shareLocation.setDefaultValue whoami().shareLocation
 
     {focus} = kd.utils.parseQuery()
-    @emailForm.inputs[focus]?.setFocus()  if focus
+    @userProfileForm.inputs[focus]?.setFocus()  if focus
 
     notify = (message)->
       new KDNotificationView


    remote.api.JUser.verifyByPin resendIfExists: yes, (err) =>

      @emailForm.fields.verifyEmail.hide()
      @emailForm.inputs.verifyEmail.hide()
      return showError err if err

      notify "We've sent you a confirmation mail.", 3500

      callback       : =>
        @account.modify "profile.avatar": ""

    @userProfileFormFields =
      firstName          :
        cssClass         : 'Formline--half'
        placeholder      : "firstname"
        name             : "firstName"
        label            : 'Name'
      lastName           :
        cssClass         : 'Formline--half'
        placeholder      : "lastname"
        name             : "lastName"
        label            : 'Last name'
      email              :
        cssClass         : 'Formline--half'
        placeholder      : "you@yourdomain.com"
        name             : "email"
        testPath         : "account-email-input"
        label            : 'Email'
      username           :
        cssClass         : 'Formline--half'
        placeholder      : "username"
        name             : "username"
        label            : 'Username'
        attributes       :
          readonly       : "#{not /^guest-/.test @account.profile.nickname}"
        testPath         : "account-username-input"
      verifyEmail        :
        itemClass        : KDCustomHTMLView
        tagName          : "a"
        partial          : "You didn't verify your email yet <span>Verify now</span>"
        cssClass         : "hidden action-link verify-email"
        testPath         : "account-email-edit"
        click            : @bound 'verifyUserEmail'
      passwordHeader     :
        itemClass        : KDCustomHTMLView
        partial          : 'CHANGE PASSWORD'
        cssClass         : 'AppModal-sectionHeader'
      password           :
        cssClass         : 'Formline--half'
        placeholder      : "password"
        name             : "password"
        type             : "password"
        label            : 'Password'
      confirm            :
        cssClass         : 'Formline--half'
        placeholder      : "confirm password"
        name             : "confirmPassword"
        type             : "password"
        label            : 'Password (again)'

    if isKoding()

      @userProfileFormFields.locationHeader =
        itemClass        : KDCustomHTMLView
        partial          : 'LOCATION SERVICES'
        cssClass         : 'AppModal-sectionHeader'

      @userProfileFormFields.shareLocationLabel =
        itemClass        : KDCustomHTMLView
        partial          : 'Share my location when I post on a #channel'
        tagName          : 'ul'
        cssClass         : 'AppModal--account-switchList left-aligned'
        name             : 'shareLocationLabel'
        nextElement      :
          shareLocation      :
            defaultValue     : whoami().shareLocation
            itemClass        : KodingSwitch
            #cssClass         : 'AppModal--account-switchList'
            name             : 'shareLocation'

    @userProfileForm = new KDFormViewWithFields
      cssClass             : 'AppModal-form'
      fields               : @userProfileFormFields
      buttons              :
        Save               :
          title            : 'Save Changes'
