updated coded
added npid, site and user models