added authorization service, login, logout, auth query handlers