Also forgot to add code that automatically refreshes the session token upon authenticated request.