fixed register & recover pwd links to use app cfg constants. 
fixed helper_db.php files to call proper init functions