remove the applications page and fix some errors

Fix some errors in the clinics page and the users page