export const getUserId = () => 'id'; export const getUserName = () => 'name'; export function redirectToLogin(returnUrl?: string) { window.location.href = `/login?return_to=${returnUrl || window.location.href}`; }