Added maintenance functionalities, prepared stubs for invalidating OAuth2 tokens