added working hp bar

renamed back to player because reasons