login input check
some fix