Index: src/lib/auth.ts
===================================================================
--- src/lib/auth.ts	(revision 298f9b3987050da08cb65ce62c3d1f8295faeff4)
+++ src/lib/auth.ts	(revision 8496f3c2ae490dee80fdf71af9fe30c63996efaf)
@@ -1,2 +1,3 @@
+import { API_BASE_URL } from './api';
 export type AuthTokens = {
   accessToken: string;
@@ -4,5 +5,5 @@
 };
 
-export type UserRole = 'Professor' | 'Student' | string;
+export type UserRole = 'Professor' | 'Student' | 'Admin' | string;
 
 export type AuthSession = AuthTokens & {
@@ -91,5 +92,5 @@
 
 export async function login(params: { email: string; password: string }): Promise<AuthSession> {
-  const baseUrl = process.env.NEXT_PUBLIC_API_BASE_URL ?? 'https://iknow-api.onrender.com';
+  const baseUrl = API_BASE_URL;
 
   const response = await fetch(`${baseUrl}/api/auth/login`, {
