updated signup model with correct validations of fields and terms of service, added flash messages