username password null validation