refactor tests
refactor apis
refactor auth
add message in not_found if no message provided
add dev packages: should, mocha
add page api and testcase
add page api test cases