adding username directives for form validation in the ui.