Name input fixed

does not accept empty names or names with spaces