changed admin panel to show categories as a selectbox