Fixed null pointer to username