Updated user-related middleware
user routes now wrapped in correct middleware