The cored and logarithm galactic potentials : Periodic orbits and integrability