callback function added in the signup form