Added jwt feature to api calls