Login-Check optimized / structured
adding Chacha20 and Browserify