     @parent.setClass "taller"
     @username.setClass "kodingen"
     @password.input.$().attr "placeholder", "Type your kodingen password"
+    @password.input.ruleChain = ["required"] # this is a hack, needs a better implementation
     @passwordConfirm.setHeight 0
     @$('p.kodingen-user-notification b').text "#{@username.input.getValue()}"
     @$('p.kodingen-user-notification').height 54

        validate      :
          event       : "blur"
          rules       :
            minLength : 8
          messages    :
            minLength : "Password is required and should at least be 8 characters."
        change        : (input, event)=>
          if @kodingenUser
            @passwordConfirm.input.setValue input.getValue()

            required  : yes
            match     : @password.input
          messages    :
            required  : "Password confirmation required!"
            match     : "Password confirmation doesn't match!"
        focus         : (input, event)=>
          if @kodingenUser
            input.setValue @password.input.getValue()
