Updated main api
Added password to user
Added index