added logout, restricted link on homepage