user login works
fixed all api calls to get data from mongo