fix login miss bugs