Added API for SQLs
Merge branch 'develop' into user