I am buidling an API using flask as framework and postgresql as database. This website will have user profiles for which I need a controller class.