fixed login name bug