added layout and controller for admin