Add method to get last url called