added logout view
merge in logout