Added middleware
Added inline students to admin