[removed auth from client] - the use of the functions will be in greater use in src/auth