added active to homes b/c none will ever be deleted, also did lots of security queries