Fixing User Session Bug