Redirecting from /register/ to /api/auth/register