Implemented ID_Log db param for workout logs

ID_Log is now being used as unique key to access logs .