installing the common auth package used both by server side and client side