Updating auth `middleware()`, `Bearer` auth is partially implemented