string split and return with validation on username and email