Modules cleanup

Additionally to #69:
- removed 'lib' module (login/logout urls are now in the 'users' module)
- removed 'expert_mode' module
- updated referring code and documentation