custom directives for username view