Does DerbyJS in current shape can implement authentication, if yes what's best way to do it? of not is their any work around to do it?
I'm very happy to share that Derby has released the first version of Access Control at the Racer level. Initial details are in the Racer package at https://github.com/codeparty/racer/blob/master/src/accessControl/README.md.
You track its ongoing progress with this github issue - https://github.com/codeparty/derby/issues/47#issuecomment-6337980