Small fixes to user new/edit pages for displaying errors.
Updated the redis config and singleton to allow database number selection and better validation.