Added profile related commands to the restServer