+ added dot (.) to regexp to check username is valid