Added join code

added a join to make sure that you have at lease 1 nurse in the database