*implemented most methods for site management
*not working because of bug in site_id related code - too tired to debug