methods for userId and pincode