Error in Client Side Sign Up Controller