first approach of signupDetails