fixed log out link in views