added signup and mediagrid directives