Creating user apis