Updated middleware.py to remove switch user from any mobile pages