fixed login method
fixed login method