adding pin id and user id