intergate layout and code for front end and admin
Change