Remove getPost from account.php and move it to Util