1. Run passed login&register.
2. Added some util methods.
Addded test files, written in nodejs.