showing tables & add patient but not written to database