changed isset
changed isset
changed isset
uncomment logout method