fixed backing sql, and filled in get favorite locations