support for signing login/logout requests added