fix bug with header and output buffering

add LocalRedirect function in main.php
add Orders functions

orders function
orders page
add Accounts functions

add page for executors
and execute