Update to Login Logic
Tiny change