Added basic input detection for the Username field