fixed login for user