         username = (try! keychain.get("username"))!
         password = (try! keychain.get("password"))!
         email = (try! keychain.get("email"))!
-        birthyear = Int((try! keychain.get("birthyear"))!)!
+        
+        if (try! keychain.get("birthyear"))! == "" {
+            birthyear = nil
+        }else {
+            birthyear = Int((try! keychain.get("birthyear"))!)!
+        }
+        
         
         Create()
         

    var username = ""
    var password = ""
    var email = ""
    var birthyear = 0
    
    override func viewDidLoad() {
        super.viewDidLoad()

        return row
    }
    
    func CreatePickerInputRow(value: Int?) -> PickerInputRow<Int> {
        let row = PickerInputRow<Int>()
        row.title = "BirthYear"
        row.value = value
