removed middleware registration

@fosdev @chad-medi Removed middleware registration. Please review and merge.