how to make a page with record displayed from database
Probably because before anything has a chance to print you are already returning #markup from formModule_page().
You might also want to use the Devel module's dpm() function for more cleaner and convenient debug messages and variable inspection.