Adjusted get method for todos