#28 fixed checking length of username