Added authentication (but the backend is still dummy).