added staffhome page
Fixed staffhome and updated query for person table