Made some improvements to the admin form. REOL-55
Modified the get libraries function to suit our needs. REOL-55