enter function in adminPane added