cleaned up add resource form