fix on user login issue