Oops, should be checking whether it is undefined or null not just do !
Added players section of all registered players
Change host to uid