#264, #111 Fixed relating to authentication and password hashing
#264 removed console.log
Merge pull request #265 from joola/feature/#264

#264, #111 Fixed relating to authentication and password hashing