adding layout for admin front end and complete controller of admin backend