     
     let minPasswordCount = 5
     
-    func validateUsername(username: String) -> Observable<ValidationResult> {
+    func validateUsername(username: String) -> ValidationObservable {
         if username.characters.count == 0 {
             return just((false, nil))
         }

    
    @IBOutlet weak var signupOutlet: UIButton!
    @IBOutlet weak var signingUpOulet: UIActivityIndicatorView!
    
    var disposeBag = DisposeBag()
    

                
                if let valid = v.valid {
                    validationColor = valid ? okColor : errorColor
                } else {
                   validationColor = UIColor.grayColor()
                }
                
