fixing null pointer in users show