[fix] null username error in session