Adding in logout features