added a logout in views
added a logout in views