add admin pannel layout and admin panel api some code