pins n users and logic