Added missing list format template
Improved show debug function
Fixed username check with users table allows duplicates