Interest model and db queries