edited signupController to get correct parameters