(defn create-user! [user]
(if-not (valid? user)
;; returns the response that the data is not valid
(if-not (exists? user)
;; returns the response that the email is busy
(db/insert! user)))) ;; returns the response that the user was created or an error occurred while writing data to the database