Move location of users middleware