settings-dialog: Add a minimal user id validation
Currently we don't save the account type data to the database, which makes it harder to distinguish them (say, when migration of database).
So Let's add a minimal validation so that this will help in the future.