Fixes: id namespace was not unique, bad way to check is user logged (always true). Addes: searching and getting basic data about patient