fixed bugs:
1. control scope of management of admin user
2. fixed an exception when viewing book info
3. add register feature for registering teacher user