Needed to use magnification safe method for auth check in routes.js