Creating service to have json functions
Adding permission service
Adding perm service