add alert dialog for null username