Added logging and auth modules