Login preference strings and username check