upload controller, saveas controller, get_client_page method added and some refactoring.
Enabled error message handler