AI-433 Added databaseid to location type, allowing it to be owned by users

Added naive data grid for display of forms