add create user section, flash hint and create unique index for user's email