I bought a nextjs theme (angle) and need to implement authentication logic. API is ready. so, just need store my jwt token in cookies and redirect pages to login page if t