updated routes file with posts resource, updated admin.layout