* add proper error pages * handle errors with proper codes * add method router separation