changed some middleware
Merge branch 'master' of https://github.com/Apc204/GroupProject