preparing files to support login and oauth for client