rest api JSON, mongo, going to use for checking in