Implemented unauthenticated users being redireted to auth page