Rewriting the API using CBV
create user api views and serializers