pmt.member.php + added tests for bad db connection