added other functionalities for authorization class / endpoint