Creates signup functionality including error messages, flash messages, successful saves and redirects, and styling.