finalized base user apis and social auth api