validation checks - pass the values as parameters

ask when username is empty (the second stage has been removed)