created fuction for admin and modified the caselo form