User API Clean Up

Added comments to user api
Improved performance on user api