Created SQLOps function to get subs for a given user
Added function to get subs for given user