Added and fixed bugs that affected old user's pins