Update api endpoints and moved getuserdetails into user parser