bug fixed: user could not logged in