added username validation