Refactor Doorkeeper API call and update css