authenticate user to edit pins