 		NotificationCenter.default.removeObserver(self, name: .UIKeyboardWillHide, object: nil)
 	}
 }
+
+class TextField: UITextField {
+	
+	let padding = UIEdgeInsets(top: 0, left: 10, bottom: 0, right: 10);
+	
+	override func textRect(forBounds bounds: CGRect) -> CGRect {
+		return UIEdgeInsetsInsetRect(bounds, padding)
+	}
+	
+	override func placeholderRect(forBounds bounds: CGRect) -> CGRect {
+		return UIEdgeInsetsInsetRect(bounds, padding)
+	}
+	
+	override func editingRect(forBounds bounds: CGRect) -> CGRect {
+		return UIEdgeInsetsInsetRect(bounds, padding)
+	}
+}

	var profileImageView: UIImageView!
	var profileUsernameLabel: UILabel!
	var newUsernameLabel: UILabel!
	var newUsernameTextField: UITextField!
	var continueButton: UIButton!
	var alertLabel: UILabel!
	

		newUsernameLabel.font = UIFont(name: "AvenirNext-Regular", size: 16)
		newUsernameLabel.textAlignment = .left
		
		newUsernameTextField = TextField(frame: CGRect(x: 0, y: newUsernameLabel.frame.bottom.y + 10, width: view.frame.width * 0.7, height: view.frame.height * 0.07))
		newUsernameTextField.autocorrectionType = .no
		newUsernameTextField.autocapitalizationType = .none
		newUsernameTextField.keyboardType = .alphabet
