User and Pin Framework