create admin panel added. changed admin file to accomodate. to be changed later