Controller for Sign Up Changed to Directive