added logout link, corrected bug when anonim could enter to patients/ doctors lists