Added role to logout constructor