Working on accessing favorites from database.