adding the admin layout and improving the views